<!-- apps/frontend/templates/layout.php -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title>
        <?php if (!include_slot('title')): ?>
                Título generico
        <?php endif; ?>
    </title>
    <link rel="shortcut icon" href="/favicon.ico" />
     <?php use_javascript('jquery-1.3.1.min.js') ?>
     <?php use_javascript('jquery.tablesorter.min.js') ?>
     <?php use_javascript('sliding_effect.js') ?>
    <?php include_javascripts() ?>
    <?php include_stylesheets() ?>
<script type="text/javascript">
    $(document).ready(function() {
    // call the tablesorter plugin
    
    $("table").tablesorter({
        // sort on the first column and third column, order asc
       // sortList: [[0,0],[2,0]]
       widgets: ['zebra'],
       //
       cssAsc:"headerSortUp",    
       cssHeader:"header",
       cssDesc:	"headerSortDown"
        // enable debug mode
       // debug: true
    });
});
 </script>
  </head>
  <body>
  <div id="container">
   <!--  cabecera -->
      <div id="header">
        <div id="banner">
            <?php echo link_to(image_tag('logobidasoa.gif'), 'http://www.bidasoa-activa.com:8383/home__inicio_c.asp') ?>
            <?php echo link_to(image_tag('homeHeader.jpg'), 'http://www.elespazio.com','id="top-banner"') ?>
            <?php echo link_to(image_tag('logoEspazio.gif'), 'http://www.elespazio.com','id="top-banner"') ?>
            <?php echo link_to(image_tag('logocitesmetiers.gif'), 'http://www.cite-sciences.fr/francais/ala_cite/metiers/') ?>
	   </div>
     
      </div>
    <!--  /cabecera -->
  <?php /*******************************************************/ ?>
      <div id="content">
        <?php if ($sf_user->hasFlash('notice')): ?>
          <div class="flash_notice"><?php echo $sf_user->getFlash('notice') ?></div>
        <?php endif; ?>

        <?php if ($sf_user->hasFlash('error')): ?>
          <div class="flash_error"><?php echo $sf_user->getFlash('error') ?></div>
        <?php endif; ?>
<?php /*******************************************************/ ?>
        
          <?php echo $sf_content ?>
        
      </div>
    <!--  pie -->
    <div id="footer">
        <ul>
            <li><a href="contacto">Contacto</a></li>
            <li><a href="#" title="Accesibilidad">Accesibilidad</a></li>
            <li><a href="#" title="Mapa web">Mapa web</a></li>
            <li><a href="#" title="Aviso legal y política de privacidad">Aviso legal</a></li>
        </ul>
    </div>
    <!--  pie -->
    </div>
  </body>
</html>